package indi.pers.priv.onem;

import java.util.Random;

/**
 * 大敌机:是飞行物
 */
public class BigAirplane extends FlyingObject{
    private int speed; //速度
    public BigAirplane(){
        super(66,89);
        /*width=66; //大敌机宽高看图片属性
        height=89;
        Random rand = new Random();
        //小敌机初始位置在窗口外(看不到为负) x:0到(窗口宽-大敌机宽)内的随机数
        x= rand.nextInt(World.WIDTH-width);
        y=-height;*/
        speed=2;
    }
}
